Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui5-breadcrumbs): current link aria-current #9668

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

PetyaMarkovaBogdanova
Copy link
Contributor

Fixes: #9648

@@ -628,9 +628,10 @@ class Breadcrumbs extends UI5Element {
return this._overflowItemsData.length === 0;
}

get linkAccessibilityAttributes(): Pick<AccessibilityAttributes, "hasPopup"> {
get linkAccessibilityAttributes() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get linkAccessibilityAttributes(): Pick<AccessibilityAttributes, "hasPopup" | "current">

instead of removing the type

Copy link
Contributor

@unazko unazko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The aria-current isn't listed in the inherited or supported properties for the link role.
Nevertheless it should be globally supported regardless of the role attribute and also it is not prohibited according to the ARIA 1.2 standard.
According to the design the current page appears visually as a text (it lacks navigation).
Not sure if such an element should still have a link role. Also it seems that the ACC spec isn't updated although there is a listed aria-current="true" attribute.
Is this topic presented in front of the accessibility expert group?

@PetyaMarkovaBogdanova PetyaMarkovaBogdanova merged commit 87732a1 into main Aug 23, 2024
10 checks passed
@nnaydenow nnaydenow deleted the breadcumbs-item-aria-current branch August 23, 2024 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SF_ACC][ui5-breadcrumbs]: 'current page link' is not read out when last/current item is focused
3 participants